home *** CD-ROM | disk | FTP | other *** search
/ CyberMycha 2008 January / Cybermycha 1_2008.iso / ProgramFilesFolder / Data / Menu / uidef / ComboBox.def < prev    next >
Encoding:
Text File  |  2004-03-05  |  8.3 KB  |  233 lines

  1. !Include("UI.def")
  2.  
  3. ControlObject("UIComboBox","ComboBoxPattern","Pattern")
  4.         {
  5.             PatternFile("../uidef/combobox.def")
  6.             Command(1)
  7.             Notify(1)
  8.             CanFocus(0)
  9.             TextureFocusAlpha(1.0)
  10.             TextFocusAlpha(1.0)
  11.             SelKeyUp(0)
  12.             SelKeyDown(0)
  13.             Text("")
  14.             TextAlpha(1.0)
  15.             TextColor(1.0,1.0,1.0)
  16.             Font("TextFont")
  17.             TextPosFlags(34)
  18.             Mouse(1)
  19.             Keyboard(1)
  20.             Joy(0)
  21.             Visible(1)
  22.             ParentPositioning(1)
  23.             ParentCenteringX(1)
  24.             ParentCenteringY(0)
  25.             ParentSizingX(0)
  26.             ParentSizingY(0)
  27.             TextureAlpha(1.0)
  28.             LogicSize(0.335,0.05)
  29.             LogicPos(0.08125,0.14571431)
  30.  
  31.             Button("UIButton","ID_COMBO_TRIGGER","","Specific")
  32.             {
  33.         PatternFileElem()
  34.                 Checked(0)
  35.                 Disabled(0)
  36.                 CanCallPress(0)
  37.                 CanCheck(0)
  38.                 MouseLeaveDestroyFocus(1)
  39.                 CheckSound("data/sounds/click")
  40.                 TextureCheckedRect("Menu_Main.dds",1024.0,1024.0,802.0,88.0,812.0,100.0)
  41.                 TextureCheckedAlpha(1.0)
  42.                 TextCheckedAlpha(1.0)
  43.                 TextureDisabledAlpha(1.0)
  44.                 TextDisabledAlpha(1.0)
  45.                 TextureFocusCheckAlpha(1.0)
  46.                 TextFocusCheckAlpha(1.0)
  47.                 CallPressPeriod(0.1)
  48.                 DoubleClick(0.3)
  49.                 Command(1)
  50.                 Notify(1)
  51.                 CanFocus(1)
  52.                 TextureHightlightRect("Menu_Main.dds",1024.0,1024.0,802.0,88.0,812.0,100.0)
  53.                 TextureFocusAlpha(1.0)
  54.                 TextFocusAlpha(1.0)
  55.                 SelKeyUp(0)
  56.                 SelKeyDown(0)
  57.                 FocusSound("data/sounds/highlight")
  58.                 Text("")
  59.                 TextAlpha(1.0)
  60.                 TextColor(1.0,1.0,1.0)
  61.                 Font("MenuSmall")
  62.                 TextPosFlags(34)
  63.                 Mouse(1)
  64.                 Keyboard(0)
  65.                 Joy(0)
  66.                 Visible(1)
  67.                 ParentPositioning(1)
  68.                 ParentCenteringX(0)
  69.                 ParentCenteringY(0)
  70.                 ParentSizingX(0)
  71.                 ParentSizingY(0)
  72.                 TextureRect("Menu_Main.dds",1024.0,1024.0,802.0,88.0,812.0,100.0)
  73.                 TextureAlpha(0.8)
  74.                 LogicSize(0.02,0.048333332)
  75.                 LogicPos(0.9328358,0.05)
  76.             }// [UIButton] ID_COMBO_TRIGGER
  77.  
  78.             Static("UIStatic","ID_COMBO_TEXT","Specific")
  79.             {
  80.         PatternFileElem()
  81.                 Text("")
  82.                 TextAlpha(1.0)
  83.                 TextColor(1.0,1.0,1.0)
  84.                 Font("TextFont")
  85.                 TextPosFlags(34)
  86.                 Mouse(1)
  87.                 Keyboard(0)
  88.                 Joy(0)
  89.                 Visible(1)
  90.                 ParentPositioning(1)
  91.                 ParentCenteringX(0)
  92.                 ParentCenteringY(0)
  93.                 ParentSizingX(0)
  94.                 ParentSizingY(0)
  95.                 FrameCornerSize(2,2)
  96.                 TextureRect("Menu_Main.dds",1024.0,1024.0,826.0,88.0,831.0,93.0)
  97.                 TextureAlpha(1.0)
  98.                 LogicSize(0.335,0.05)
  99.                 LogicPos(0.0,0.0)
  100.             }// [UIStatic] ID_COMBO_TEXT
  101.  
  102.             ControlObject("UIListBox","ID_COMBO_LIST","Specific")
  103.             {
  104.         PatternFileElem()
  105.                 ListBoxCapacity(1)
  106.                 Command(1)
  107.                 Notify(1)
  108.                 CanFocus(1)
  109.                 TextureFocusAlpha(1.0)
  110.                 TextFocusAlpha(1.0)
  111.                 SelKeyUp(0)
  112.                 SelKeyDown(0)
  113.                 Text("")
  114.                 TextAlpha(1.0)
  115.                 TextColor(1.0,1.0,1.0)
  116.                 Font("TextFont")
  117.                 TextPosFlags(34)
  118.                 Mouse(1)
  119.                 Keyboard(1)
  120.                 Joy(0)
  121.                 Visible(0)
  122.                 ParentPositioning(1)
  123.                 ParentCenteringX(0)
  124.                 ParentCenteringY(0)
  125.                 ParentSizingX(0)
  126.                 ParentSizingY(0)
  127.                 TextureAlpha(1.0)
  128.                 LogicSize(0.15,0.05)
  129.                 LogicPos(0.5522388,0.0)
  130.  
  131.                 Menu("UIMenu","ID_LIST","Specific")
  132.                 {
  133.             PatternFileElem()
  134.                     Command(1)
  135.                     Notify(1)
  136.                     CanFocus(1)
  137.                     TextureFocusAlpha(1.0)
  138.                     TextFocusAlpha(1.0)
  139.                     SelKeyUp(0)
  140.                     SelKeyDown(0)
  141.                     Text("")
  142.                     TextAlpha(1.0)
  143.                     TextColor(1.0,1.0,1.0)
  144.                     Font("TextFont")
  145.                     TextPosFlags(34)
  146.                     Mouse(1)
  147.                     Keyboard(1)
  148.                     Joy(0)
  149.                     Visible(1)
  150.                     ParentPositioning(1)
  151.                     ParentCenteringX(0)
  152.                     ParentCenteringY(1)
  153.                     ParentSizingX(0)
  154.                     ParentSizingY(0)
  155.                     FrameCornerSize(2,2)
  156.                     TextureRect("Menu_Main.dds",1024.0,1024.0,826.0,88.0,831.0,93.0)
  157.                     TextureAlpha(1.0)
  158.                     LogicSize(0.15,0.05)
  159.                     LogicPos(0.0,0.0)
  160.  
  161.                     MenuButton("UIMenuButton","ID_BUTTON","","","Specific")
  162.                     {
  163.                         PatternFileElem()
  164.                         PreviousElemPositioning(0)
  165.                         Checked(0)
  166.                         Disabled(0)
  167.                         CanCallPress(0)
  168.                         CanCheck(0)
  169.                         MouseLeaveDestroyFocus(1)
  170.                         CheckSound("data/sounds/click")
  171.                         TextureCheckedAlpha(1.0)
  172.                         TextCheckedAlpha(1.0)
  173.                         TextureDisabledAlpha(1.0)
  174.                         TextDisabledAlpha(0.4)
  175.                         TextureFocusCheckAlpha(1.0)
  176.                         TextFocusCheckAlpha(1.0)
  177.                         TextCheckedColor(1.0,1.0,1.0)
  178.                         CallPressPeriod(0.1)
  179.                         DoubleClick(0.3)
  180.                         Command(1)
  181.                         Notify(0)
  182.                         CanFocus(1)
  183.                         TextureHightlightRect("Menu_Main.dds",1024.0,1024.0,840.0,88.0,845.0,93.0)
  184.                         TextureFocusAlpha(1.0)
  185.                         TextFocusAlpha(1.0)
  186.                         TextHighLightColor(1.0,1.0,1.0)
  187.                         SelKeyUp(0)
  188.                         SelKeyDown(0)
  189.                         FocusSound("data/sounds/highlight")
  190.                         Text("")
  191.                         TextAlpha(1.0)
  192.                         TextColor(1.0,1.0,1.0)
  193.                         Font("TextFont")
  194.                         TextPosFlags(34)
  195.                         Mouse(1)
  196.                         Keyboard(1)
  197.                         Joy(0)
  198.                         Visible(0)
  199.                         ParentPositioning(1)
  200.                         ParentCenteringX(0)
  201.                         ParentCenteringY(0)
  202.                         ParentSizingX(0)
  203.                         ParentSizingY(0)
  204.                         FrameCornerSize(3,3)
  205.                         TextureAlpha(1.0)
  206.                         LogicSize(0.15,0.05)
  207.                         LogicPos(0.0,0.0)
  208.                     }// [UIMenuButton] ID_BUTTON
  209.                 }// [UIMenu] ID_LIST
  210.             }// [UIListBox] ID_COMBO_LIST
  211.  
  212.             Static("UIStatic","ID_LABEL_RES","Specific")
  213.             {
  214.                 PatternFileElem()
  215.                 TextAlpha(1.0)
  216.                 TextColor(1.0,1.0,1.0)
  217.                 Font("TextFont")
  218.                 TextPosFlags(34)
  219.                 Mouse(1)
  220.                 Keyboard(0)
  221.                 Joy(0)
  222.                 Visible(1)
  223.                 ParentPositioning(1)
  224.                 ParentCenteringX(1)
  225.                 ParentCenteringY(0)
  226.                 ParentSizingX(0)
  227.                 ParentSizingY(0)
  228.                 TextureAlpha(1.0)
  229.                 LogicSize(0.2,0.053333335)
  230.                 LogicPos(0.20149253,-1.0)
  231.             }// [UIStatic] ID_LABEL_RES
  232.         }// [UIComboBox] ComboBoxPattern
  233.